package com.kuangstudy.common.demo2;

/**
 * ClassName: Outer
 * date: 2021/07/14 11:57:51
 *
 * @author zlk
 */
public class Outer {
    private String name;
    private Integer age;
    /*静态内部类 和外部类相同*/
    static class Inner{
        private String addr;
        private String phone;
        private static String city;
        public void show(){
            System.out.println(new Outer().name);
        }

    }
}
